window.onload = function () {
    var nickname = document.getElementById("nickname");
    var Introduction = document.getElementById("Introduction");
    var sex = document.getElementById("sex");
    var nickname_none = document.getElementById("nickname_none");
    var Introd = document.getElementById("Introd");
    var SEX = document.getElementById("SEX");
    function OnClickBlabk(IdName, According){

        IdName.onclick = function () {
            According.style.display = "block";
        }
    }
    OnClickBlabk(nickname, nickname_none);
    OnClickBlabk(Introduction, Introd);
    OnClickBlabk(sex, SEX);
    

    var fork = document.getElementById("fork");
    // var SEX = document.getElementById("SEX");
    var close = document.getElementById('close')
    var save = document.getElementById('save')
    var nickname_none_bottom = document.getElementById("nickname_none_bottom");
    function OnClick(idname,noAccording){
        idname.onclick= function(){
            noAccording.style.display ="none";
        }
    }
    OnClick(fork, nickname_none);
    OnClick(nickname_none_bottom, nickname_none);
    OnClick(SEX,SEX);
    OnClick(close, Introd);
    OnClick(save, Introd);
}